/*
 * IBankCardModel.java
 * business
 *
 * Created by SunDing on 2017/2/21.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.model;

import com.yidiandao.business.ui.widget.listview.DisplayListItem;

import java.util.List;

/**
 * 银行卡相关
 * <p>
 * Created by SunDing(dindding@163.com) on 2017/2/21 9:43
 */
public interface IBankCardModel {
    /**
     * 获取绑定的银行卡信息
     */
    void getBankCardInfo(String tag, OnLoadListener<List<DisplayListItem>> listener);

    interface OnLoadListener<T> {
        void onSuccess(T t);

        void onFailed();

        void onFinal();
    }

}
